updated xmltojson python script