public MapBuilder put(String name, Object val) {
    if (val != null) {
      map.put(name, val);
    }
    return this;
  }
Helper class to build Maps consumed by the JSON formatter.  Only
add non-null entries to the Map.
ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/MapBuilder.java