docs: def recarray2dict(recarray):
      """Return numpy.recarray as dict."""
      # TODO: subarrays
      result = {}
      for descr, value in zip(recarray.dtype.descr, recarray):
          name, dtype = descr[:2]
          if dtype[1] == 'S':
              value = bytes2str(stripnull(value))
          elif value.ndim < 2:
              value = value.tolist()
          result[name] = value
      return result