Allow conversion from BSONObject to Dict