Add extracted document as json, so it can be loaded to mongo.