Renamed deserialize/serialize to scan/format.