toJson

performance is written only when the runs carried samples.