Removing json-serialization and re-adding commons-io dependency, the converting to jdk impl of ByteArrayOutputStream