Fixed groups not inheriting from their super groups
Added test 4
Added JSON conversion for objects
Added more privileges runtime errors