canonicalise key bindings