Correctly raise KeyError when a non-string is found in NormalizingDict.