call #to_s on RequestBody before pass to StringIO.new