pub fn deserialize<'a, T>(value: &'a Intermediate) -> Result<T>where
    T: Deserialize<'a>,