added a map function for JSON objects (in String)