extension Query: JSONEncodable {
    var jsonValue: JSONValue {
        return [
            "document": document.jsonValue,
            "graphQLErrors": graphQLErrors.jsonValue,