docs: def response_to_dict(self):
          """This method helps in returning the output JSON data from the URL
          and also it helps in converting the XML output/response (string) to a
          JSON object
  
          Returns:
              data (dict): JSON data from the output/response
          """
          try:
              return json.loads(self.incidents_data.text)
          except Exception:
              return json.loads(json.dumps(xmltodict.parse(
                  self.incidents_data.text)))