').CodeMirror.getValue();
                let jsonData;
                try {
                    // Just validate the JSON but keep the original formatting
                    JSON.parse(editorContent); // Validate only
                    jsonData = editorContent; // Use original content
                } catch (e) {
                    alert('Invalid JSON format in editor');
                    return;
                }

                const requestBody = {
                    username: user.username,
 