Serialize job metrics.