This question was solved in a reddit post: https://www.reddit.com/r/unrealengine/comments/pfi084/how_do_you_generate_custom_text_on_trace/