How dinosaur vomit has solved these prehistoric mysteries