Use a few-shot approach and provide the model with a couple of examples of the desired JSON in addition to the template you are providing. Create a fine-tuned model. In addition to these two options, ...