Incrementally dump the dreapp_document table to json