ajax post ok but object in the response is null