Text this: Goal-oriented stacking in radio interferometric maps