From JRR Tolkien to Neil Gaiman to Suzanne Collins’ Hunger Games, when things are bleak and disaster strikes, children’s literature has the answer