Fixing escaping for Tomcat config.