Method to return the serialized string representation of the object.
a string representing the serialized object.