I would disagree regarding the metal box. Sure, it can cause short circuits, but that’s relatively easy to guard against with proper insulation. Even if shorts do occur, it will blow a fuse or trip the overcurrent protection. Even if it doesn’t, it won’t provide a supply of combustible material to sustain a fire for long enough to ignite the nearby batteries.