Input and output format for pentaho and udaf custom group by