supporting celery 3.1's new way of expressing mongo config