To make the marinade, peel and quarter the onion and peel the garlic cloves. Place both in a blender or food processor with the allspice, chilli (deseeded if you want less heat), sugar, black pepper, vinegar, thyme leaves, lime juice and sea salt. Blitz to a paste.