add plumbing for xml metric parsing