make it able to convert a hash to csv/tsv.