This function writes a JSON data input file for MAS
write_data(data_list, outfile_path)
the list of data inputs, where each list slot corresponds to a data type needed by MAS
the path to the data file you want to write. This should end with a .json file extension.
the string containing the json data file to write.