Ideas to get this done Projects to examine: https://github.com/BurntSushi/xsv Can do lots around CSV https://github.com/nephridium/csv2json Can convert CSV to JSON https://github.com/dbohdan/remarshal Supports converting many formats, including JSON to TOML