Creates a string representing the contents of this.
a Batch object
a string containing the serialized version of this