Simply had to do it another way in sanity. I requested the whole object instead of the reference. In the question i posted, i was trying to fetch the reference. That worked, but i could not access the value.