CXone Studio SNIPPET: GetRESTProxy JSON parsing fails on nested arrays

Quick question, has anyone seen this weird error? with the GetRESTProxy action in a CXone Studio flow. I am attempting to call a custom API endpoint to fetch sentiment scores, but the JSON parse step consistently returns a null value for nested arrays. The raw response looks correct in the debug logs, yet the ASSIGN action fails to extract the data.

Here is the minimal repro code for the SNIPPET:

ASSIGN response = GetRESTProxy("GET", "https://api.example.com/sentiment", headers, "")
ASSIGN parsed = JSON.Parse(response.body)
ASSIGN scores = parsed.results.scores

The API returns a 200 OK with this payload:

{
 "results": {
 "scores": [0.85, 0.92, 0.15]
 }
}

When I try to access scores in the subsequent action, it is undefined. If I flatten the structure to a single object, it works. Is there a limitation in the Studio JSON parser regarding array types within nested objects? I have verified that the Content-Type header is set to application/json. Any insights on how to properly dereference array elements in this context?

Have you tried explicitly casting the parsed JSON to a list before assignment, as Studio often defaults to a string representation for nested structures?

ASSIGN parsed_list = JsonParse(response.Body).ToList()