Add special cases for RegExp and Date values.
Print problem paths more readably.