[IMP] Improve jasper.document for version 7.0