serialize: first cut of recovery logic