to_hash handles recursive list types
Merge pull request #17 from gvaughn/recursive_to_hash

to_hash handles recursive list types