Iterator it=selectedData.keySet().iterator();
JSONSerializer serializer = new JSONSerializer();
while(it.hasNext()){
mOutput.write(ControlBlock.LIST_BEGIN);
Dataset key=(Dataset)it.next();
mOutput.write(serializer.include("traceList").serialize(key));
mOutput.write(selectedData.get(key));
mOutput.write(ControlBlock.LIST_END);
}
} catch (PipeClosedException e)