pub fn sort_json_variables(value: &Value) -> Value
Sort the “variables” field by name. We have to do this separately because that field is not a JSON object, instead it’s an array of tuples.