pub fn deref<'a>(doc: &'a Document, obj: &'a Object) -> &'a Object
Follow references (one level is enough: lopdf never nests them).