docs: function modelIndexErrors(errors, context) {
          if (context && context.modelIndexErrors) {
              return context.modelIndexErrors(errors);
          }
          if (Array.isArray(errors)) {
              var rtn = {};
              _.each(errors, function(data) {
                  for (var name in data) {
                      if (data.hasOwnProperty(name)) {
                          rtn[name] = data[name];
                      }
                  }
              });
              return rtn;
          } else {
              return errors;
          }
      }