@Override
                    public JsonElement serialize(String src, java.lang.reflect.Type typeOfSrc, JsonSerializationContext context) {
                      return new JsonPrimitive(StringEscapeUtils.escapeHtml4(src));
                    }
Resource provider for repository versions resources.
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/WidgetResourceProvider.java