Convert JSON configuration objects into clean .env environment variable files with proper key escaping.
Values with spaces are automatically wrapped in double quotes.
Nested objects are converted to stringified JSON values.
All parsing runs locally in client-side JavaScript.