Fix cryptomatte layer groups storing lists instead of tensors. Remove redundant get_channel_groups call. Initialize rgb/alpha tensors to prevent unbound reference. Add safe JSON serialization for OIIO metadata types. Use per-vector normalization for XYZ/normal map data. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>