Fix sending null behavor for empty strings, remove testing hardcode, some refactoring of add_batches

* Sending nulls worked only for nil values previously, now works for empty strings.
* Remove hardcode from send nulls behavior that was inadvertently left in.
* Break down add_batches as start to refactoring.