Eating more plant-based foods and less meat is key to a healthy gut, suggests a new study.