code: function generate(model, count) {
    count = count || 1;
    var registry = {};
    var models = [];
  
    if (model) {
      models = typeof model === 'string' ? [model] : model;
    } else {
      models = Object.keys(schemas);
    }
  
    function build(model) {
      var instance = jsf(schemas[model]);
      var invalid = validate(instance);
      if (invalid) {
        var errors = JSON.stringify(invalid, null, 2);
        throw new Error('Invalid "' + model + '" instance:\n' + errors);
      }
      return instance;
    }
  
    function factory(model) {
      var instances = [];
      for (var i = 0, len = count; i < len; i++) {
        var instance = build(model);
        instances.push(instance);
      }
      registry[model] = instances;
    }
  
    models.forEach(factory);
    return registry;
  }
docs: Generate instances populated with pseudo random data
  
  @param {(String|[String])} model An optional model or list of models
  @param {Number} count An optional number of instances to generate
  @return {Object} A map of model-instances