Postgresql First Element Of Json Validator