Added escaping for JSON response. Made some changes in AJAXConnection for handling NULL request parameters.