Return the String representation of the object like client sidei does