@staticmethod
def _consume_stringio(f):
    f.flush()
    buffered_output = f.getvalue()
    f.close()
    return buffered_output
@staticmethod
def _consume_stringio(f):
    f.flush()
    buffered_output = f.getvalue()
    f.close()
    return buffered_output