Changed to new ajax response format