Adding support for PUT, saving the groups in a json file rather than a db