CXone Studio: GetRESTProxy JSON parsing fails on nested arrays

Studio snippet action GetRESTProxy returns a string, but I need to access nested properties. The response is valid JSON.

ASSIGN rest = GetRESTProxy(“GET”, “https://api.example.com/data”, “”, “”)
ASSIGN parsed = JSON.parse(rest)

The flow errors out on the parse step. The payload contains an array of objects. Is there a limit on the string length or a specific encoding issue in Studio? I’ve tried trimming whitespace. It works in Postman. Stuck.