pub fn cmd_json(path: &Path) -> Result<SchLibComponentList, Box<dyn Error>>
Export as JSON - returns component list (let presentation layer handle JSON serialization).