I’m a bit late to respond sorry but after reading the docs apparently this is actually
what should happen, though it is rather unintuitive.
On my plugin i defined an AppType variable, and a variable of the specificied AppType variable.

Then just pass in the Option sets with no filter for any particular option set and it only passes the name.

The workaround is to dynamic generate a JSON format.