The key to keeping your tomato pie from being runny is to salt and drain your tomatoes before baking them. Pat them dry with a paper towel to remove most of the juices.