Postgresql Array Agg Get First Element Of Dictionary