Move to a JSON config file