added array support to the getGistGroups
fixing getGroupGist error for objects and arrays
fixing getGroupGist error for objects and arrays