Updating .NET and JVM baked in serialization.

Adding sparse object to test.
Minor changes to small object.