Postgres First Element Of Json Array Syntax In Javascript