serialize

fun serialize(snapshot: Snapshot): String

Serializes snapshot to its canonical text form.