EA-31437 - assert: DocumentFoldingInfo.writeExternal