Fix TSV and JSON files