Checking for duplicate keys in config data