Postgresql Check If Json Contains A Value Must Be Entered