Avoid checking for the Content-Type when parsing JSON
Avoid checking for the Content-Type when parsing JSON

The Content-Type header will not always be a string with "application/json"
as its content. It may also include more information.

Instead of checking the header, the Response#json method should be called
when the user assumes that the response holds a JSON payload.

attm2x/m2x-ruby