deal with namespace keys that could be frozen UTF-16 encoded strings