Truncate serialized values in assert failure messages