Preflop
I agree with the flat if you are confident in your reads. You can make money IP by floating, and when you smash the flop implied odds are great because stacks are deep. Great job adjusting to your opponent and to the situation!
Flop
I like the flop bet. I'd actually size it even bigger because of how draw heavy this board is. Pot would be nice.
When you get raised, I actually think that it's close. I wouldn't think that Villain would be check-raising anything for value that you beat other than T7, ie. I wouldn't think that TPTK would be raising, so your two pair actually looks more like a bluff catcher. Since Villlain is aggro, I think that we can certainly credit him for bluffs.
I ran an analysis
here. It looks to me like it's a call, but only slightly. You have about 33-39% equity, depending on how many flush draws your opponent is bluffing. You only need 30% based on the pot odds, but I think that there are some reverse implied odds here, because you easily could end up calling another street when you're behind, so it seems very close to me. If you remove JTo from Villain's preflop range, things get a little bit better, but it's still close.
Turn
I think that the turn is pretty similar to the flop. Villain probably has a few less bluffs in his range, which hurts your equity, but his flush draws are less strong with only one card to come, so that helps your equity. If Villlain is super aggro I lean towards calling, but if he isn't I'd expect a lot less bluffs, and thus lean towards folding.
River
Again, your hand is really a bluff catcher at this point, so it's a question of how often Villain is bluffing. You have seen him three barrel, but that doesn't mean that he always three barrels. Three times in a few hours isn't
too often. It says that he's capable, but not that he's a nut who spews all of the time.
I think that things are a little bit different in this spot when Villain starts off by check-raising a dangerous flop vs two opponents than if it were a situation where Villain opened from the BTN and went heads up vs the BB. In the latter situation, I'd expect more three barrels, in the former, less. I lean towards not crediting Villain with enough bluffs to justify a bluffcatch, so I'd fold. But I can definitely see a call if Villain is in fact aggro enough.