Added escaping to flashbag messages to stop it breaking when a newline is in the flashbag.