Fix up a broken js-test.
Review Request #8735 — Created Feb. 10, 2017 and submitted — Latest diff uploaded
This test was asserting that a thing was itself, rather than what it was
supposed to be asserting (that a thing's JSON-serialization was correct).
Ran js-tests.