Handle group keys that aren't arrays or strings.

cbugg: bug-452