implement a function to convert ioReader to string for getting values