How to output a JSON format (not a stringified one) from an AI node?

Hello, I am trying to extract information from a folder containing PDF files in order to transfer it to an Excel file. I used an AI agent node for this, but I can’t get the AI node to generate n8n variables that I could easily transfer to my Excel file. Instead, it generates a stringified version of the JSON that I can’t use.

Do you know how to solve this problem?

If Structure Output Parser doesn’t work in your case, try the Information Extractor node. This node is an alternative for an output parser with Auto-Fix Format toggled on.