An even simpler way to create and register a generic transformer for any
generic type