WIP Respect `--json` switch in CLI tool