LPS-47725 Escape as late as possible to avoid double escaping