Adding unit test to check if property of type object but with primitive value is been deserialized without throw InvalidCastException
commenting if (type == typeof(System.Object)) so test can fail