add support for pyDive.map as a decorator