Could you use `h.find_equiv(name)` here in order to avoid allocating an owned string?