removing the need for utils to have a reference to rethinkdb

This works around issue #2427