adds map method to promise utils