added Map support for slices/arrays