Resolve text reference in returnValue array