escape XML when substituting variables into Beaker job XML