support for pdf::writer xref serializations