code: function (err, collection) {
                  if (err) {
                      return callback(err);
                  }
  
                  // ensure that the collection option is present before starting a run
                  if (!_.isObject(collection)) {
                      return callback(new Error(COLLECTION_LOAD_ERROR_MESSAGE));
                  }
  
                  // ensure that the collection reference is an SDK instance
                  // @todo - should this be handled by config loaders?
                  collection = new Collection(Collection.isCollection(collection) ?
                      // if the option contain an instance of collection, we simply clone it for future use
                      // create a collection in case it is not one. user can send v2 JSON as a source and that will be
                      // converted to a collection
                      collection.toJSON() : collection);
  
                  callback(null, collection);
              }
docs: The post collection load handler.
  
  @param {?Error} err - An Error instance / null, passed from the collection loader.
  @param {Object} collection - The collection / raw JSON object, passed from the collection loader.
  @returns {*}