Fixed MongoDB Output. Broken because params object was changed.