NXP-10260 - use FreeMarker escaping for XML templates