#192 make renderCsv method