Canonicalize keys used in WeavePathData's qkey-to-number mapping.