Added json2 to stringify variables