Quote a JSON key so it's valid JSON.