Normalize format of ValueError messages