Enure that json is submitted when posting to ripple

Hash#to_json comes from rest-client
Merge pull request #3 from avlazarov/ensure-json-post-params

Enure that json is submitted when posting to ripple