Define to_h and alias as to_hash
Merge pull request #44 from benhamill/convert_to_to_h

to_hash => to_h