updated the tracer to output xml