Then pipe it into jq [1] to query parameters or build up a formatted string.

Or pipe it into rq [2] to convert the format to yaml, toml etc.

[1]: https://stedolan.github.io/jq/tutorial/ [2]: https://github.com/dflemstr/rq#format-support-status

There's also https://github.com/TomWright/dasel (supports JSON, TOML, YAML, XML and CSV)