private String getObjectName(final Object object) {
        if (object instanceof HasName) {
            return ((HasName) object).getName();
        }

        return null;
    }
Shallow merge of the two Purpose objects
stroom-event-logging/stroom-event-logging-impl/src/main/java/stroom/event/logging/impl/StroomEventLoggingServiceImpl.java