Emit as a JSON string literal. Produces a double-quoted, fully escaped value suitable for any JSON backend.