pub fn format_plan_json(changes: &[Change]) -> Result<String>
Format a plan as JSON for machine consumption.