[feature] improved the message dump for publish