Bug fix: Session JSON printing