Slice apples and pears (leave the skin on) right into the baking dish. Add the lemon juice to the apples and pears and gently toss to coat. Add the cinnamon and flour, and gently mix until distributed throughout the apples.
Topping:
Stir together the brown sugar, flour, cinnamon, ginger, nutmeg, and salt with softened butter. Mix together; add the sliced almonds. Continue mixing (will be crumbly, or like cookie dough).
Sprinkle the topping over the apples.
Bake for 35 minutes until topping is golden brown. Remove from oven and allow to rest for 10 minutes. Serve with vanilla ice cream or gelato, and optional to drizzle with caramel sauce.