def get_response(self, resp):
try:<EOL><INDENT>return resp.json()<EOL><DEDENT>except JSON_ERROR:<EOL><INDENT>return {}<EOL><DEDENT>
Retrieve response as json and deserialize as dict

Parameters
----------
resp: requests.models.Response