Agreed. On a more positive note.. jq absolutely blows my mind for working in the other direction (reading)
jq is small peanuts compared to App::RecordStream.
https://metacpan.org/release/App-RecordStream
https://metacpan.org/pod/App::RecordStream::Manual::Story
https://metacpan.org/pod/App::RecordStream::Manual::Examples
This just might be, and it'll write the curl command for you too :)