Do not do str(obj) in PyROOT, this will trigger a memory exhaustion
See: https://github.com/root-project/root/issues/14156