Nested merge now takes a list of key combos to group by