Always return an array isntead of a string
Add legacy compatibility with "" in map instead of root