Normalize data structures in Mongo.