For a (possible) resolution see
https://github.com/dotnet/aspnetcore/issues/64501
Apparently it is "by design" and setting a specific option will make number handling strict(er). I do not quite agree with the design but those are guys with faaaaar more experience than me :-)