      sourceName: payload.sourceName
                                    });
                                    
                                    // Coerce string values to boolean when provided
                                    const toBool = (v) => (v === true || v === 'true' || v === 1 || v === '1');
                                    let enabled = undefined;
                                    if (payload.visible === 'toggle' || payload.visible === undefined) {
                                   