Redmine#4703: mapdata() function and add container support to maparray()