JSON Escape
Escape and unescape JSON strings for embedding in code.