ignore comments in xml; make weights json compatible