The cast from Object to Dictionary is actually checking against the erased type Dictionary this is the typesafty warning i get