improved xml_escape performance significantly when no escaping is necessary