This Gist contains a JQ filter to fix the broken armour JSON exports from the BlockBench GeckoLib plugin in two different formats, but using the exact same solution.
This solution was created using Ubuntu, but you can adapt it to be used for others assuming you can install jq
.
See the jq
docs for more info and how to install: https://jqlang.github.io/jq/
Use either one of the below options: