def parse_response(response)
      OpenStruct.new(
        raw_response: response,
        body: JSON.parse(response.body, symbolize_names: true)
      )
    end
def parse_response(response)
      OpenStruct.new(
        raw_response: response,
        body: JSON.parse(response.body, symbolize_names: true)
      )
    end
parses the raw response by the remote. returns an object with a raw_response
 as method and the parsed body associated.