@Override
    public Criteria convertExpressionCriteria(final String type,
                                              final ExpressionCriteria expressionCriteria) {
        return Criteria.builder()
                .withType(type)
                .withQuery(StroomEventLoggingUtil.convertExpression(expressionCriteria.getExpression()))
                .withData(Data.builder()
                        .withName("pageRequest")
                        .addData(getDataItems(expressionCriteria.getPageRequest()))
                        .build())
                .withData(Data.builder()
                        .withName("sortList")
                        .addData(getDataItems(expressionCriteria.getSortList()))
                        .build())
                .build();
    }
Shallow merge of the two Purpose objects
stroom-event-logging/stroom-event-logging-impl/src/main/java/stroom/event/logging/impl/StroomEventLoggingServiceImpl.java