Create Json Array Postgresql Documentation Function