Automatic MongoDB database designer