Can't you just access the item in the array with the inline notation as shown here:
https://docs.typebot.io/editor/variablesSpecifically:
If you would like to get the first item of a list:
{{={{My variable}}[0]=}} or {{={{My variable}}.at(0)=}}
Likewise for last item:
{{={{My variable}}.at(-1)=}}
If it doesn't work to get the variables directly or feels too confusing, you could set a separate variable with that code and just assign the array item to it.