This function retrieves the fields of a structured document and returns them
as a tibble, one row per field. As fields can contain HTML, the tibble can be
displayed prettier with, for example, the gt package (see the Examples).
Usage
document_get_fields(doc_id, api_key = get_api_key())