re #186: Return arrays from getGroups and getRoles