1[[.[] | .Variations | select(. != null) | to_entries] | 2 flatten | 3 group_by(.key) | 4 .[] | 5 {key: .[0].key, value: map(.value) | unique}] | 6 from_entries 7