Same as what we do in Broker. Use the expected type if publishing a table() or set() parameter. This fixes issues when switching sumstats to Cluster::publish()