Postgres First Element Of Json Array In Js