@dadair I was going to answer your question thinking it was simple, but then I realise the issue is that you need the name of parent key to be able to construct the ref. I had a similar issue when traversing a tree. It is as if you need to collect it on your way but I could never understand how to reference the collected value.