JFTR, stumbled over this recently:
https://github.com/kellyjonbrazil/jc
"CLI tool and python library that converts the output of popular command-line tools and file-types to JSON or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts."