Mildly confusing. Guess the intention is to return a string, but looks like a list with the [] and looks like a map with the colon!

Will 'REF_ANCESTOR' be understood by wherever the output ends up? Could be worth logging problem too.