What I forgot to say is that I'm working with Windows. On Windows you have to replace ' with " and " with "". It doesn't work with ^".
The Developer Experience team has a work item to allow users to easier specify JSONon our roadmap. I'll provide an update in a couple of weeks on ETA.