fn serialize_part_stats<S: Serializer>(
    val: &Option<LazyPartStats>,
    s: S
) -> Result<S::Ok, S::Error>