JsonObject.add guards against null values