I investigated this further today. This is an attemt to describe the problem and a "solution" to it.
In AC22 I created a new gdl object and typed 
Now the weird solution:
If you add a dummy array parameter (of any type) to the parameter list, the export works fine. This took a while to find out…