Convert Instant JSON to XFDF in MAUI

To achieve interoperability between XFDF (XML Forms Data Format) and JSON files that conform to Nutrient’s annotation schema, Nutrient has APIs for importing JSON data into a PDF and exporting it as XFDF.

Unlike Nutrient’s JSON schema, XFDF doesn’t have a concept of differentials for describing changes to a PDF (e.g. deleted annotations, new bookmarks, edited forms). XFDF is instead a representation of all annotation and form data inside a PDF document at a point in time. Since these concepts don’t directly translate to each other, there are some limitations that wouldn’t be represented in the final XFDF.