Data output is currently coded in projects, run processing and in common as SampleDataOutput - these could be rewritten to be more generic.