use text/plain in data reader and writer