[api] give the group controller a sane structure