I have an API sending a JSON to a Postgres endpoint, but due to how the infrastructure is set up, it arrives as text. Can I use to_json() to convert the text back into JSON