Connect result with taskId

Save the id with the result.json in the db, so it will be possible to
link a result to the task done by a worker.