python script which convert all xml files in folders to json files