Feature/mongo 2.6.5 document source pipeline d

Duplicated below