coerce payload to a string when passing it to TEXT_TO_HTML