code: def graphql_queries_to_json(*queries):
      
      rtn = {}
      for i, query in enumerate(queries):
          rtn["q{}".format(i)] = query.value
      return json.dumps(rtn)
docs: Queries should be a list of GraphQL objects