Support null values for JsonObject

The putString, putNumber, etc methods probably should call an internal putValue method that does the checkCopy and null checks, but would introduce extra instanceof calls, which could possibly (not that likely) effect perf.

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=426816