fix amounts & XmlToJSON