Fixes rendering of PDFs with nested trailer dictionary
Merge pull request #4731 from timvandermeij/trailerdict

Fixes rendering of PDFs with nested trailer dictionary