title: Load attributes from associated model in sequelize.js
body: <p>I have two models. User and Manager</p>
  
  <p>User Model</p>
  
  <pre><code> const UserMaster = sequelize.define('User', {
          UserId: {
              type: DataTypes.BIGINT,
              allowNull: false,
              primaryKey: true,
              autoIncrement: true
          },
          RelationshipId: {
              type: DataTypes.STRING,
              allowNull: true,
              foreignKey: true
          },
          UserName: {
              type: DataTypes.STRING,
              allowNull: true
          }
      })
  </code></pre>
  
  <p>Manager model</p>
  
  <pre><code> const Manager = sequelize.define('Manager', {
          ManagerId: {
              type: DataTypes.BIGINT,
              allowNull: false,
              primaryKey: true,
              autoIncrement: true
          },
          RelationshipId: {
              type: DataTypes.STRING,
              allowNull: true,
              foreignKey: true
          },
          MangerName: {
              type: DataTypes.STRING,
              allowNull: true
          }
      })
  </code></pre>
  
  <p>Models are minified to simplyfy the problem</p>
  
  <p>Associations.. </p>
  
  <pre><code>User.belongsTo(models.Manager, {
      foreignKey: 'RelationshipId',
      as: 'RM'
  });
  
  Manger.hasMany(model.User, {
      foreignKey: 'RelationshipId',
      as: "Users"
  })
  </code></pre>
  
  <p>So, on user.findAll()</p>
  
  <pre><code>var userObject = models.User.findAll({
      include: [{
          model: models.Manager,
          required: false,
          as: 'RM',
          attributes: ['ManagerName']
      }]
  });
  </code></pre>
  
  <p>I get the following.</p>
  
  <pre><code>userObject = [{
          UserId: 1,
          RelationshipId: 4545,
          UserName: 'Jon',
          RM: {
              ManagerName: 'Sam'
          }
      },
      {
          UserId: 2,
          RelationshipId: 432,
          UserName: 'Jack',
          RM: {
              ManagerName: 'Phil'
          }
      },
      ...
  ]
  </code></pre>
  
  <p>How can I move 'ManagerName' attribute from Manager model (associated as RM) to UserObject?
  Is it possible to somehow load attributes from eagerly-loaded models without nesting them under a separate object?
  I expected the resulting Object to look Like the object </p>
  
  <p>Expected Object --</p>
  
  <pre><code>userObject = [{
          UserId: 1,
          RelationshipId: 4545,
          UserName: 'Jon',
          ManagerName: 'Sam' // &lt;-- from Manager model
      },
      {
          UserId: 2,
          RelationshipId: 432,
          UserName: 'Jack',
          ManagerName: 'Phil' // &lt;-- from Manager model
      },
      ...
  ]
  </code></pre>
  
  <p>Thank you.</p>