check the type of response.body to see if it is json or a string
add json true to all requests
fix tests
Merge pull request #11 from hoist/fix/json_response

check the type of response.body to see if it is json or a string