support old spring versions
transform ReportOutputDocument to interface