Serialize Document, a Prolog term representing a GraphQL document
as obtained from graphql_read_document/3 or the graphql/4
quasi-quotation, and unify Codes with the resulting list of
Options are a list whose elements are one of:
- Sep is a list of codes to be used for separating adjancent
GraphQL values in Codes. Defaults to a single space.
This option can be used to separate values with commas
(which are optional throughout GraphQL) by passing