Fetch collection names agnostically regarding the data structure of config['collections']