pub fn serialize_map_as_kv_vec<'se, MapKeyType: 'se + Serialize, MapValType: 'se + Serialize, MapType: IntoIterator<Item = (&'se MapKeyType, &'se MapValType)>, S>(
    map: MapType,
    serializer: S
) -> Result<S::Ok, S::Error>
where S: Serializer,