Validation and indexes for Mongo