change the response from send to an empty json