How to reference parent json object properties in a child object

I am trying to reference properties in a parent JSON object as part of a property in a nested JSON Array.

For example:
{person:
first: bob,
last: smith
},
visits: [
{general: {
name: bob smith
}

through the ui I am writing a formula field called visits.general.name with a value “#{person.first} #{person.last}”

I get error: filed person not found

To access nested fields you need to use the field(name) function. In this case it would be:

field('person.first')