Add handling of csv as one output format for switch.