@benapetr you seem gifted with app development.
do you know RV Tools ? https://www.dell.com/support/kbdoc/en-us/000325532/rvtools-4-7-1-installer
this tool is pretty handy when auditing VMWARE infrastructures, it can connect to vcenter or directly to ESXi and full dump in csv/xlsx the infrastructure configuration (all aspects of the config, be it VM, hosts, networks, datastores, files, ...)
I could see a real production use of same tool, but for XCP Pools/XCP hosts
would be a great add to XenAdmin !