Escape TaskConfig in thermos UI

Testing Done:
Tested with vagrant locally.

Bugs closed: AURORA-523

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