store mongo result in local variable

- addresses #5

psql -q suppresses result output, whereas mongo --quiet does not. this could
result in performance gains over the mongo shell. I think this will align the
behavior to be more even between the two tests.