Array->Object

Changed userGroups to an object instead of an array.
Removed "Reality" specific things.