converting some maps into jsonobjects