Text this: On the optimal certification of von Neumann measurements