Fixed a bug in the json short code.

Fixed a bug in the json short code.