create a pipeline processImp that dumps the document's entities