Named after Dexter, a show you should not watch until completion. Write log line on request instead of response. This means that a requests will be logged even if the server crashes, but data from the ...
yq can be called as a module if needed. With -y/-Y, files can be edited in place like with sed -i: Because YAML treats JSON as a dialect of YAML, you can use yq to convert JSON to YAML: yq -y . < ...