Retrieving value from nested list?

Let’s say if I got this ugly debug output (nested list?), how about would I go to retrieve this value?

ok: [127.0.0.1] => { "foo.stdout": [ [ [ "bar" ] ] ] }

Tried:

`
with_items: “{{ foo.stdout }}”

with_items: “{{ foo.stdout[0] }}”
`

It's a list in a list in a list
with_items: "{{ foo.stdout[0][0] }}"