RFC4627-compliant JSON
add _jsonOptions
add test case and add case _jsonOption = false
fixed typo
Merge pull request #2349 from slywalker/patch-RFC4627

Encode <, >, ', &, and " for RFC4627-compliant JSON, which may also be embedded into HTML.