In a large pot, combine water, pineapple peel and core, black peppercorns, all spice berries, coriander seeds, cloves, cardamom pods, cinnamon stick, nutmeg, and ginger. Bring to a boil over medium-high heat, then reduce heat to a simmer. After 15 minutes, use a potato masher to press the pineapple and all ingredients in order to release flavor. Continue cooking till pineapple skin is soft and slightly translucent. This should take about 45 minutes.