docs: def _txtinfo_to_jsoninfo(self, data):
          """
          converts olsr 1 txtinfo format to jsoninfo
          """
          # replace INFINITE with inf, which is convertible to float
          data = data.replace('INFINITE', 'inf')
          # find interesting section
          lines = data.split('\n')
  
          # process links in topology section
          try:
              start = lines.index('Table: Topology') + 2
              end = lines[start:].index('') + start
          except ValueError:
              raise ParserError('Unrecognized format')
          topology_lines = lines[start:end]
          # convert topology section to jsoninfo format
          topology = []
          for line in topology_lines:
              values = line.split('\t')
              topology.append({
                  'destinationIP': values[0],
                  'lastHopIP': values[1],
                  'linkQuality': float(values[2]),
                  'neighborLinkQuality': float(values[3]),
                  'tcEdgeCost': float(values[4]) * 1024.0
              })
  
          # process alias (MID) section
          try:
              start = lines.index('Table: MID') + 2
              end = lines[start:].index('') + start
          except ValueError:
              raise ParserError('Unrecognized format')
          mid_lines = lines[start:end]
          # convert mid section to jsoninfo format
          mid = []
          for line in mid_lines:
              values = line.split('\t')
              node = values[0]
              aliases = values[1].split(';')
              mid.append({
                  'ipAddress': node,
                  'aliases': [{'ipAddress': alias} for alias in aliases]
              })
  
          return {
              'topology': topology,
              'mid': mid
          }