You can always store a JSON encoded string as a single config value, and then parse that from within your program. I agree we could probably provide better tooling here. I'll let others in the community speak to workarounds they use.
Would you mind creating an issue that details some of your requirements and pain points you're hitting?