protected Gson getGson() {
    return gson;
  }
Gets the injected instance of the {@link Gson} serializer/deserializer.

@return the injected {@link Gson} instance.
ambari-server/src/main/java/org/apache/ambari/server/serveraction/upgrades/AbstractUpgradeServerAction.java