Add InputStream in SerializationUtils