Make Gson adapter explicitly read StringIO object