fn fix_plans(value: &mut Value)