Converted model objects to JSONSerializable
Fixed bug with output_dir
Separate snapshots into separate files