Add onions to the pot and cook until they become translucent and are beginning to brown, 6-8 minutes. Add the celery leaves, cilantro, ginger, and garlic. Cook another 2 minutes. Stir in the diced tomatoes, tomato paste, all the spices, and preserved lemon and harissa, if using. Simmer for 2-3 minutes, stirring to combine.