add support for CSV output