Trying to output contents of array
It looks like using {{ dump(listItems) }} gave me enough to work with. I forgot to mention I had tried this before. It didn't work the last time, but I suspect I gave it an incompatible data type.