Escape \u001f characters per JSON spec.