code: def parse_disruptions(self, xml):
          
          obj = xmltodict.parse(xml)
          disruptions = {}
          disruptions['unplanned'] = []
          disruptions['planned'] = []
  
          if obj['Storingen']['Ongepland']:
              raw_disruptions = obj['Storingen']['Ongepland']['Storing']
              if isinstance(raw_disruptions, collections.OrderedDict):
                  raw_disruptions = [raw_disruptions]
              for disruption in raw_disruptions:
                  newdis = Disruption(disruption)
                  #print(newdis.__dict__)
                  disruptions['unplanned'].append(newdis)
  
          if obj['Storingen']['Gepland']:
              raw_disruptions = obj['Storingen']['Gepland']['Storing']
              if isinstance(raw_disruptions, collections.OrderedDict):
                  raw_disruptions = [raw_disruptions]
              for disruption in raw_disruptions:
                  newdis = Disruption(disruption)
                  #print(newdis.__dict__)
                  disruptions['planned'].append(newdis)
          return disruptions
docs: Parse the NS API xml result into Disruption objects
          @param xml: raw XML result from the NS API