canonicalize keys with _ instead of dots