Default to sending JSON in the request body

...for POST and PUT requests
Merge pull request #4 from juandopazo/json-transport

Default to sending JSON in the request body