please don't pollute the core_get_map function with this switch, instead branch off to the specific assembly method inside mapcache_assemble_maps()