Text this: Stabilizing capital surges in emerging economies