fix Struct._str() for classes with overloaded .get() (e.g. Term)