Adds map function that uses user's mapper function imported on the worker as a blob.