The enhanced Sanov theorem and propagation of chaos