Text this: Topology of black hole phase transition in JT gravity