add possibility for a RestListener to stream received documents from and
into a database table