Move PdfEditorView deserializer to main module