I think you can do `StringIO(data)`