With mixlayer, because the round trip time to the model is so short, you can alternate between appending known tokens of the JSON output and values you want the model to generate. I think this works better than constraining the sampling in a lot of cases.
We haven’t built a state machine over JSON schema that uses this approach yet but it’s on the way.