move Hash monkeypatch to separate file
Merge pull request #8458 from rolandwalker/move_hash_monkeypatch

move `Hash` monkeypatch to separate file