Write JSON with provider Apple and model family Foundation Models. If unknown, use null for model_id.