CMS-4405 Store group memberships.
Improved storage format for members to simplify search.