Postgresql Iterate Over Json Array Parser