Convert to serialize, deserialize.