Fixed the bug that ResultTask was not properly deserializing outputId.

Was reading through the scheduler code and found this potential bug.