only transform dates that might be strings