Support extended ClusterConfig types in log entries by writing class identifiers during serialization.