Enure that json is submitted when posting to ripple

Hash#to_json comes from rest-client
Merge branch 'ensure-json-post-params' into fix-find-path-return-value