Map vs metaclass - any reason to select one over the other?

see Method for retrieving an array-based list of all testIDs within a given folder structure in Katalon Studio? - #9 by kazurayam for my proposal