Fixed issue where non JSON responses resulted in null being assigned to http_response_body instead of the actual response body