Fixing rest_mongo example.