Refactoring data formats (json, csv, tsv)