The answer here seems to be what you are after: https://stackoverflow.com/a/21820736/39532
The basic summary is:
- undefined isn't directly supported by JSON since not setting a
property is functionally equivalent
- Null may be represented by
new JValue((object)null)