Every species in the Peruvian Amazon – from the caiman lizards to the villagers of Puerto Miguel – has developed an elaborate defence mechanism to survive the harsh environment.