create write batch from serialized -- doesn't work