I would like to suggest https://jsonformatter.org/json-pretty-print for formatting and beautifying JSON data.
Also for use this validationg JSON data, https://jsonformatter.org -- Sent from: http://www.postgresql-archive.org/PostgreSQL-hackers-f1928748.html