Convert message to builder if necessary