WIP: almost repaired tracelog (de)serialization