Bugfix checking if the response is an application/json
Merge branch 'master' of https://github.com/aherranz/jsongen