Removing unnecessary attributes from MongoDB documents upon import.