Switch from XML to JSON as the config file format.