Text this: A generalized inversion formula for the continuous Jacobi transform