private long now() {
    return System.currentTimeMillis() / 1000;
  }
The JSON implementation of the MessageFactory. Constructs JSON implementations of
each message-type.
hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/messaging/json/JSONMessageFactory.java