Got it, the solution is jq! ( https://stedolan.github.io/jq/ )
..using the "." Filter does exactly what I wanted:
$> jq . ugly.json >> beautiful.json
Found it by following #json and thus discovering https://mastodon.social/@YesIKnowIT/101167193159044425 !
This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!