small wrapper around mongodb-erlang