code: public static <T> Writer<TrialMeter<T>> writer(final Writer<? super T> writer) {
  		return elem(
  			"measurement",
  			attr("name").map(TrialMeter::getName),
  			attr("description").map(tm -> tm.getDescription().orElse("")),
  			Env.WRITER.map(TrialMeter::getEnv),
  			Params.<T>writer(writer).map(TrialMeter::getParams),
  			DataSet.WRITER.map(TrialMeter::getDataSet)
  		);
  	}
docs: /* *************************************************************************
  XML reader/writer
  ***********************************************************************