malformed XML output in statistics servlet (there may be others)