Mongo indexer creates an index, or array of indexes on a mongo collection.  Pass in the db, index object/array of object and the table name
Changed the indexer to use the helper function