In the bowl of a food processor, add the onion, garlic (raw and roasted), lemon zest (if using), oregano, parsley, thyme, and rosemary. Pulse the machine several times to break up the ingredients and cut them into finer pieces. Then turn the food processor on full for 30 seconds or until the mixture is almost smooth, but still has a little grit left to it.