Generalize Transformer +valueForKey: to +objectForKey: for any class