define getResponseData for AjaxRequest