Postgresql Cannot Cast Type Json Validator