fix: serialize BatchStore writers (#8595)