Bogart CouchDB Blog code translated to use MongoDB