Currently, because we are using `JSON.parse` to print the spec, generators and structures that are not part of JSON do not get printed correctly. Errors found when transforming fig spec: Before: ```ts const generator = { script: 'foo', postProcess: () => {} } // ... spec here args: { generators: generator } ``` After: ```ts // ... spec here args: { generators: { script: 'foo' } } ``` ---- ```ts const generator = { custom: () => {} } // ... spec here args: { generators: generator } ``` After: ```ts // ... spec here args: { } ```