Description: When setting clip.details with custom data, it is not consistently included in the output of clipToJSON() or exportToJSON().
Steps to reproduce:
clip.details = { storageKey: 'abc123', cloudUrl: 'https://...' };
const json = clipToJSON(clip);
console.log(json.details); // undefined or incomplete
Expected behavior: Custom data in details (or meta) should be preserved in JSON export.
Description: When setting clip.details with custom data, it is not consistently included in the output of clipToJSON() or exportToJSON().
Steps to reproduce:
clip.details = { storageKey: 'abc123', cloudUrl: 'https://...' };
const json = clipToJSON(clip);
console.log(json.details); // undefined or incomplete
Expected behavior: Custom data in details (or meta) should be preserved in JSON export.