Postgresql Json Build Object Group By In Power