code: def format_response(self, response):
          
  
          return response.json(object_pairs_hook=collections.OrderedDict if self.preserve_order else None)
docs: Extracts JSON data from the response
  
          :param requests.Response response:
              The original response from :mod:`requests`
          :return:
              The response's JSON content
          :rtype:
              :class:`dict` if ``preserve_order`` is ``False``
          :rtype:
              :class:`collections.OrderedDict` if ``preserve_order`` is ``True``