title: Modify JSON after getting a response from sequelize
body: <p>I get a <code>JSON</code> from my sequelize function. This i have to modify, because i have to send it to a database importer, who needs it in a fixed form. 
  Is there a way to customize this function so that I get back the desired result ?</p>
  
  <p>models: </p>
  
  <pre><code>User.associate = function (models) {
      User.hasMany(models.SurveyResult)
    }`
  
      SurveyResult.associate = function (models) {
      SurveyResult.belongsTo(models.User)
  </code></pre>
  
  <p>The function:</p>
  
  <pre><code>  async mediImport (req, res) {
      try {
        const transaction = await User.findAll({
  
          where: { released: true },
          // Select forename as Vorname, name as Nachname
          attributes: [
            ['forename', 'PAPPS286'],
            ['name', 'Nachname'],
            ['birthdate', 'PADPS60']
          ],
  
          include: [{ model: SurveyResult, attributes: ['result'] }]
  
        }).map(user =&gt; user.toJSON())
  
        res.send({
          transaction
  
        }
        )
      }
  </code></pre>
  
  <p>this is the <code>JSON</code> which i get from the function:</p>
  
  <pre><code>{
      "transaction": [
          {
              "PAPPS286": "Tes",
              "Nachname": "Josef",
              "PADPS60": null,
              "SurveyResults": [ {
                      "result": {
                          "name": "blau",
                          "email": "mail",
                          "birthdate": "01.02.1990"
                      }
                  }]
          },
          {
              "PAPPS286": "Dampf",
              "Nachname": "Hans",
              "PADPS60": null,
              "SurveyResults": [
                  {
                      "result": {
                          "name": "blau",
                          "email": "mail",
                          "birthdate": "01.02.1990"
                      }
                  }
              ]
          },    
        ]
      },
  </code></pre>
  
  <p>This is the <code>JSON</code> form i need:</p>
  
  <pre><code>{
          "transaction": [
              PAD{
                  "PAPPS286": "Tes",
                  "Nachname": "Josef",
                  "PADPS60": null,
                  "MH":  {
                              "name": "blau",
                              "email": "mail",
                              "birthdate": "01.02.1990"
  
              },
              PAD{
                  "PAPPS286": "Dampf",
                  "Nachname": "Hans",
                  "PADPS60": null,
                  "MH":  {
                              "name": "blau",
                              "email": "mail",
                              "birthdate": "01.02.1990"
                          }
  
              },    
            ]
          },
  </code></pre>
  
  <p>Perhaps there is a way to modify the <code>JSON</code> after i get it back. But i dont Knoe how this can be work.</p>