manaktir | 8 years ago | on: List of command line tools for manipulating CSV, XML, HTML, JSON, INI, etc.
On macOS there's also textutil, a pre-installed utility for working with text in different formats. Manpage: https://developer.apple.com/legacy/library/documentation/Dar...