Modify how collectionName (or type) is set to a model / collection