public JsonBuilder put(String name, Object val) {
    if (val != null) {
      map.put(name, val);
    }
    return this;
  }
Add a non-null value to the map.
hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/JsonBuilder.java