Cleaning json config file.