split write from dumps