implement built-in statistics dumper using the 'carbon' protocol, which is also understood by metronome