Simplify StringIO imports
Simplify StringIO imports in utils