Documents json module.
Hides TJsonError, it wasn't being used.
Merge pull request #1553 from gradha/pr_json_module_improvements

json module improvements