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