ClusterAdvertisement serialization and dynamic lenght discovery