Is there a way to serialize continuation or program execution state?

Is a reference really a blob? e.g. Blob types