Fixing updater diff by converting TaskConfig to sorted json tuples.

Reviewed at https://reviews.apache.org/r/16311/
Fixing test_update test.

Reviewed at https://reviews.apache.org/r/16745/