Mongodb utilities for debuging.