group_by(.accountId) | map({accountId: .[0].accountId, points: (map(.points) | add)})