Original: Its diet consists of invertebrates (such as beetle grubs and caterpillars), fruits and berries.
Simplified: It eats invertebrates (such as beetle, grubs and caterpillars), fruits and berries.