This hook will be used when loading JSON data to ensure that if a key is duplicated, the system will error.