Update from XML to JSON structure