use StringIO for single mock requests as well