class History {

    public JsonNode getArrayNode() {
        final ArrayNode historyArray = JsonHandler.createArrayNode();
        ObjectNode history = JsonHandler.createObjectNode();
        historyArray.add(history);
        history.put(UD, LocalDateUtil.getFormattedDateForMongo(LocalDateUtil.now()));
        ObjectNode data = history.putObject(DATA);
        data.put(_V, version);
        if(nodeToHistory.isMissingNode()) {
            createBranch(data);
        } else {
            createBranch(data).set(namePathForHistory, nodeToHistory);
        }

        return historyArray;
    }

    public  History(String objectPathForHistory, long version, JsonNode nodeToHistory);

}