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