Fix to json on groups and users
Merge pull request #41 from cmanou/master

to json