code: public static void printQueries(List<JcQuery> queries, QueryToObserve toObserve, Format format) {
  		boolean titlePrinted = false;
  		ContentToObserve tob = QueriesPrintObserver.contentToObserve(toObserve);
  		if (tob == ContentToObserve.CYPHER || tob == ContentToObserve.CYPHER_JSON) {
  			titlePrinted = true;
  			QueriesPrintObserver.printStream.println("#QUERIES: " + toObserve.getTitle() + " --------------------");
  			// map to Cypher
  			QueriesPrintObserver.printStream.println("#CYPHER --------------------");
  			for(int i = 0; i < queries.size(); i++) {
  				String cypher = iot.jcypher.util.Util.toCypher(queries.get(i), format);
  				QueriesPrintObserver.printStream.println("#--------------------");
  				QueriesPrintObserver.printStream.println(cypher);
  			}
  			QueriesPrintObserver.printStream.println("");
  		}
  		if (tob == ContentToObserve.JSON || tob == ContentToObserve.CYPHER_JSON) {
  			// map to JSON
  			if (!titlePrinted)
  				QueriesPrintObserver.printStream.println("#QUERIES: " + toObserve.getTitle() + " --------------------");
  			String json = iot.jcypher.util.Util.toJSON(queries, format);
  			QueriesPrintObserver.printStream.println("#JSON   --------------------");
  			QueriesPrintObserver.printStream.println(json);
  			
  			QueriesPrintObserver.printStream.println("");
  		}
  	}
docs: map to CYPHER statements and map to JSON, print the mapping results
  to the output streams configured in QueriesPrintObserver
  @param queries
  @param toObserve
  @param format