reimplemented Series.getObjectHierarchy with rObject class