Add relation between the group table and the related tables
Add a json representation of a group object
The api returns JSON rather than simply text