This function writes a JSON configuration file for MAS.
write_config(config_list, outfile_path)
The list of objects, where each slot corresponds to a MAS config input
The path to the config file you want to save. This should end in a .json file extension.
a string comprising the JSON config file