Add check for multiple object members with the same name to json

throws the usual error.
Fix some errors in json:

armor.json: category is defined twice, but is identical, so remove one definition.
tools.json: multiple definitions of flags have been merged into one.
recipes.json: removed qualities entry, that have been overridden by the second quality member anyway.