malformed XML output in statistics servlet