Fixed the json returned by viewGroups