Hi Adrien. Welcome to the community!
You are coming across the “filter returns an array” scenario. If you use the SailPoint jsonpath evaluator at SailPoint Developer Community you will see how ISC parses it.
Can you make the attribute multi-valued?
More info at JSONPath - filtered query returns array rather than string