better enum formatter