Postgres Aggregate Into Arraylist To Arrays