enable use of transform func as filter as well as apply
bugfix: iterate over keys, not the method (plus test)