Fix serialization function for Broadcast's