Nested merge now groups using a list of key combos

This means that when multiple group_by parameters are specified we can
group by all of them and include all of them in the same group of
results.
Why not just return a flat list of group keys from here?