Are you talking here about REST API functionality?
I'm wondering what's the difference between hosts in this cas, backup servers and VMs.
Are trying to find a distinguishing factor/parameter using which you can separate objects returned by /hierarchyRoots from one another? Or you just want to know the difference between the mentioned objects, such as type, purpose, etc.?