jo is a useful companion to jq when creating and manipulating JSON on the command line and in shell scripts.
jo
jq