Fix to json on groups and users