added additional format options, (printHeaders, groupOids)