Added support for transforming the return value

Use `tr()` to transform the return value of the monkied function.