Using Grammar Masking to Ensure Syntactic Validity in LLM-based Modeling Tasks | Synapse