I actually did this with an silly little app I made that generates fake social media profiles (
https://lookface.app). I gave it a prompt telling it what to generate and an example JSON. As long as you say it must be in JSON I haven't had any problems with it generating bad JSON.