Snapctl export all configurations

Is there a way to export all configurations with snapctl? With the snap command, I can export all the options with snap get <snap-name> -d, and all the options will be exported as json. This doesn’t seem possible with snapctl.

A little context. I’m trying to write a wrapper for a binary that is expecting to read the configurations from a file. So i would like to export the configurations in the expected format. I could get every value one at a time, but that would be cumbersome, and it would be difficult to maintain as options change.