Postgresql Array Agg To Php Exchange Rate