How to Structure Prompts for Consistent JSON Outputs from AI Models