Integrate serialization with the stopwatch

Maybe the subscriber should go the lib ?