jo is a useful companion to jq when creating and manipulating JSON on the command line and in shell scripts. https://github.com/jpmens/jo/blob/master/jo.md http://jpmens.net/2016/03/05/a-shell-command-to-create-json-jo/ https://asciinema.org/a/4y7471mjfhvv2x4mdqmwfhu31 https://github.com/jpmens/jo