Added mongodb binding to export results.