Coerce :publish value to true or false