Render hook: passing nested structure inside attributes

I defined a render hook for a code block and can successfully invoke it while passing attributes:

```my-code-block { size=xl color=red }
My inner content
```

Is it possible to assign a map to an attribute key? I envision something like:

```my-code-block { options=[color:red size:xl] }
My inner content
```

Or is there another way to pass a JSON like structure inside render hook attributes? The only idea I had was to pass a file name (e. g. options.json) and let the render hook read in the contents of this file.

No, it is not.