pub fn exec_template_with_global_params( json: Value, template: &str, global_params: HashMap<String, Value>, ) -> String