In a large rimmed baking dish, combine the eggplant, onion, and artichoke hearts with a glug of olive oil and a sprinkle of salt. Toss until fully coated, and then shake the pan to make sure the vegetables lie flat and have the maximum possible surface area exposed. Roast in the oven for 20 minutes. With a spatula, redistribute the vegetables so they brown on the opposite side, and return to the oven for another 10-20 minutes, until the vegetables are dark brown and caramelized. In the meantime, make the salsa verde: Combine the capers, herbs, anchovy paste, lemon juice, oil and salt in a small bowl and whisk until fully incorporated.