Caramelized onion tart with gruyere