add toString() to BaseObject