Global beverage brand JDE Peet's has reported strong 2024 results despite the price of green beans reaching historical highs.