SQL : How to aggregate rows of jsonb elements in postgres?

Published --