Make json format valid.

Excess comma in the last element removed.