Generate JavaScript/JSON code that evaluates to a given String.