Add utility for traversing bson