Postgres Check If Json Object Has Key