code: def _to_query_json(self):
      
      return {
        'quote': self._quote,
        'fieldDelimiter': self._delimiter,
        'encoding': self._encoding.upper(),
        'skipLeadingRows': self._skip_leading_rows,
        'allowQuotedNewlines': self._allow_quoted_newlines,
        'allowJaggedRows': self._allow_jagged_rows
      }
docs: Return the options as a dictionary to be used as JSON in a query job.