Change xml config file to json one