if its a hash, call #hash_to_json with that hash
Merge pull request #82 from kangguru/master

recursive hash to json conversion