Fixed result encoding for the workers.