Postgres Query Json Array Examples In Php