Postgresql Cannot Cast Json String Sql