How to save datasets

An instance of a CSDM object is serialized as a csdf/csdfe json-formated file with the save() method.