pub fn serialize<S>( principal: &Option<Principal>, s: S, ) -> Result<S::Ok, S::Error>where S: Serializer,