Peel the pineapples and remove the core.
Keep this aside.
Cut 10 equal cubes from a whole pineapple and cut half a pineapple in brunoise.
Finely chop the trimmings together with the core and bring to a boil in the sugar syrup.
Puree finely in the blender and cool.
Set aside to use this to marinate the coconut.
Grind the spices and heat up to 70 °C in a dry pan.
Set aside.
Caramelize the sugar and deglaze with the rum and the water.
Add the spices and the lemongrass.
Let reduce to a caramel and pass through a fine sieve.
Add the caramel to the cut pineapple and vacuum seal.
Marinate in the refrigerator for 6 hours.