@Nonnull
public RawCouchDoc deserialize( @Nonnull InputStream in ) throws IOException {
try {
JsonParser parser = createJsonParser( in );
RawCouchDoc doc = deserialize( parser );
AbstractJacksonSerializer.ensureParserClosed( parser );
return doc;
} catch ( InvalidTypeException e ) {
throw new IOException( "Could not parse due to " + e.getMessage(), e );