Some extension.json (or skin.json) have duplicate keys inside, which makes it hard to read with external json readers and may is an error in the file, because it is not save, which key "wins"
There should be a validation check to avoid duplicate keys in registration files.
examples:
https://gerrit.wikimedia.org/r/#/c/327869/
https://gerrit.wikimedia.org/r/#/c/327870/
https://gerrit.wikimedia.org/r/#/c/327871/
https://gerrit.wikimedia.org/r/#/c/327874/
https://gerrit.wikimedia.org/r/#/c/327875/
https://gerrit.wikimedia.org/r/#/c/327876/