fixed error in Hashes.hx

This didn't compile with a type error, I had a quick look and it looks
like some find and replace action went a bit wrong from hash to map.
compiles ok now and I haven't seen any adverse effects so i think all is
well!