The right ratio of dry ingredients to butter is the most important way to keep it from getting soggy, and it's also important to bake low and slow. That is why I have you cover with tinfoil for the first bit, so the topping doesn't brown too much.