Studio SNIPPET 400 on /api/v2/ai/bots/lexbot/{botId}/sessions POST with empty context payload

The outbound flow needs to push a fresh context to the Lex bot before the handoff, but the SNIPPET action keeps dropping a 400 Bad Request on /api/v2/ai/bots/lexbot/{botId}/sessions. We’re building the JSON in a Studio variable like {"context": []} and feeding it straight into the SNIPPET body, yet the response always returns "error": "Invalid context structure, expected array of objects". REST Proxy doesn’t choke on static payloads, so the template engine must be mangling the brackets during runtime, leaving the logs full of blank strings instead of the array.