An analysis of hundreds of bromalites – fossilised faeces and vomit – shows how changes in diet enabled dinosaurs to take over the world in the early Jurassic