add serializeGroups property to Json annotation