docs: def __chopStringDict(self, data):
          '''Returns a dictionary of the provided raw service/host check string.'''
  
          r = {}
          d = data.split('\t')
  
          for item in d:
              item_parts = item.split('::')
              if len(item_parts) == 2:
                  (name, value) = item_parts
              else:
                  name = item_parts[0]
                  value = item_parts[1]
  
              name = self.__filter(name)
              r[name] = value
  
          if "hostperfdata" in r:
              r["type"] = "hostcheck"
              r["perfdata"] = r["hostperfdata"]
              r["checkcommand"] = re.search("(.*?)!\(?.*", r["hostcheckcommand"]).group(1)
              r["name"] = "hostcheck"
          else:
              r["type"] = "servicecheck"
              r["perfdata"] = r["serviceperfdata"]
              r["checkcommand"] = re.search("((.*)(?=\!)|(.*))", r["servicecheckcommand"]).group(1)
              r["name"] = self.__filter(r["servicedesc"])
  
          r["hostname"] = self.replacePeriod(self.__filter(r["hostname"]))
  
          return r