Options for viewDocument should be an DocumentViewerOptions object, not array of DocumentViewerOptions objects