add DeserializeWriter class