Add serializer/deserializer for ClusterConfig