Basic code to try out CompareNETObjects NuGet package for comparing objects.
Note 1
The following line excludes Human.Id and Country.Id from the compare operation
compare.Config.MembersToIgnore.Add("*Id");
Note 2
System.Text.Json is used to serialize bad results.