NCBC-648: Forcing JsonSerialization on non-nullable ValueTypes fails

Instead of forcing users to call Insert<int?> in place of Insert<int>, detect the problematic value types and handle the Nullable<> wrapping internally.