Replace InputStream reading with IOUtils.toString()