allow per emitter group_by
Merge pull request #30 from dimagi/group_by_extension

allow per emitter group_by