- Added try-except in AudioVAEComponentConfig.from_metadata() for JSON parsing
- Added try-except in model_detection.py for transformer config parsing
- Changed bare json.loads() calls to properly handle JSONDecodeError
- Provides clear error messages instead of crashing
- Added unit tests for the fixes
Fixes potential crashes when config contains invalid JSON