Handle grouped output
Handle grouped output

Fixes #6

hananils/association_output,mazedigital/association_output,hananils/association_output,jonmifsud/association_output,mazedigital/association_output,jonmifsud/association_output