refactored ptfDesc deserializer