ensure deep to_h functionality
fix for ruby >= 2.0
Merge pull request #10 from ninech/to_h-tuning

ensure deep to_h functionality