check-json doesn't detect duplicate keys
The YAML check does this since #351 but since the json module's default behaviour is to ignore duplicates, duplicates are still possible in JSON. I think a small object_pairs_hook can be used to detect duplicates?