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 !