Ensure creation of a JSON array, not an object.
Allow numeric group names
Merge pull request #4821 from owncloud/fix_user_management

Fix user management