#foreach($paramName in $params.keySet()) #set($pval = $util.escapeJavaScript($params.get($paramName)).replaceAll("\\'","'")) "$paramName" : "$pval" #if($foreach.hasNext),#end #end } #if($foreach.hasNext),#end #end }, "stage-variables" : { #foreach($key in $stageVaria...