Add interpolate option to toJSON function to allow for loading existing snapshots