Direct serialization format for class info