Text this: Generalized ensembles in the thermodynamics of trajectories