Set Accept header to application/json.