pub fn serialize<S>( arg: &Option<HeaderMap>, serializer: S) -> Result<S::Ok, S::Error> where S: Serializer,