SampleSaveConfiguration prop = (SampleSaveConfiguration) obj;
// Save the new fields - but only if they are not the default
createNode(writer,prop.saveBytes(),NODE_BYTES);
createNode(writer,prop.saveUrl(),NODE_URL);
createNode(writer,prop.saveFileName(),NODE_FILENAME);
createNode(writer,prop.saveHostname(),NODE_HOSTNAME);
createNode(writer,prop.saveThreadCounts(),NODE_THREAD_COUNT);
createNode(writer,prop.saveSampleCount(),NODE_SAMPLE_COUNT);
}