def METHOD_NAME(self, meta):
    output_dir = os.path.join(self.metadata_folder, self.model_id)
    if not os.path.exists(output_dir):
        os.mkdir(output_dir)
    file_name = os.path.join(output_dir, "{0}.json".format(self.model_id))
    with open(file_name, "w") as f:
        json.dump(meta, f)