code: function createEntity(id, json) {
  
      const originStates = json.dat[0].track.z1.map(mapRow)
      const destinStates = json.dat[0].track.z2 ? json.dat[0].track.z1.map(mapRow) : null
  
      return new EntityInfo({
          id: id,
          states: originStates,
          destinStates: destinStates
      })
  }
docs: Create tracker entity from html
  @param html