Added the json response for the groups request.