change to private static JavaScriptSerializer