Add `--json` flag to the CLI to print the output as JSON so some tools like [jq](https://jqlang.github.io/jq/) can be used to extract structured information.