Serialize example