To the bowl of a food processor, add the onion, habanero peppers, green onions, garlic, olive oil, soy sauce, lime juice, brown sugar, ginger, thyme, salt, cinnamon, allspice, nutmeg, and black pepper. Process until smooth. Reserve ¼ cup of the marinade for making the sauce and set aside.