Data migration — make group_by consistently a list

This makes it easier for clients to work with. In particular, languages
like Go which are statically-typed.