The request should never be null, right? If so then just serialize the request.