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

Programmatically detect value types and wrap them with Nullable<> for
JSON deserialization