You have misinterpreted this circumstance again, there is no difference what format the difference is in how you find the geom object in the hierarchy.
This answer provides an example of how to get exactly the data that is needed, but for this you need to know the hierarchy.
.get_child()