cURL doesn't look to have support for ObjectSet

When using the Typescript SDK you can do something like:

 const randomThingObjectSet = client(RandomThing).where({
      randomThingId: { $eq: randomThingId },
    });


To get a ObjectSet of items to be able to pass into a typescript v2 endpoint. And the endpoint example shows:

const result = await client(getRandomThingById).executeFunction({
    "randomThingId": "value",
    "randomThingObjectSet": "value"
});

NB: You can see it shows “value” for the objectSet.

However when you do a cURL request, it shows something like

curl -X POST "https://ENDPOINT/getRandomThingById/execute?version=0.2.0" \
    -H "Authorization: Bearer $TOKEN" \
    -H "Content-Type: application/json" \
    --data-raw '{
        "parameters": {
            "randomThingId": "value",
            "randomThingObjectSet": "unknown"
        }
    }'

Clearly showing that the ObjectSet is of an unknown type and likely not supported.

Have tried to manually format, pass in an array, and fudge the data but none seem to be supported.

What is the best approach to tackling this?

We are developing a React Native application so can only do cURL requests and not use the Typescript SDK.

Thanks in Advance.