'Will return parsed JSON on response if there is any.'

@property
def json(self):

    if (self.content and ('application/json' in self['Content-Type'])):
        if (not hasattr(self, '_content_json')):
            self._content_json = json.loads(self.content)
        return self._content_json
