fixed content-type header to be json