pub fn serialize<S: Serializer>(
    val: &Vec<Version>,
    ser: S
) -> Result<S::Ok, S::Error>