fixes #472, use toString from Obj.proto