Reading tracking information of host installed snaps from another snap

ogra pointed me to /var/lib/snapd/state.json @ Classic confinement for ubuntu-package-manifest snap which works perfectly and is exactly what I need.