Convert objects to perl hash
Changes to _to_hash
Merge pull request #8 from kidambisrinivas/master

Convert objects to perl hash