title: How to JSON.stringify multiple objects returned from Loop
body: <p>Here is my mvc code,  I want to add multiple travelers objects to <code>travelers</code> array which are generated in a loop and then <code>JSON.stringify</code> them,</p>
  <pre><code>return amadeus.booking.flightOrders.post(
          JSON.stringify({
            'data':{
              'type': 'flight-order',
              'flightOffers': [response.data.flightOffers[0]],  
             'travelers':[{
                &quot;id&quot;: 1,
                &quot;name&quot;: {
                  &quot;firstName&quot;: req.body.firstname,
                  &quot;lastName&quot;: req.body.lastname
                },
                &quot;gender&quot;: req.body.gender,
                &quot;contact&quot;: {
                  &quot;emailAddress&quot;: req.body.emailaddress,
                  &quot;phones&quot;: [{
                    &quot;deviceType&quot;: req.body.devicetype,
                    &quot;countryCallingCode&quot;: req.body.countrycallingcode,
                    &quot;number&quot;: req.body.number
                  }]
                },
                &quot;documents&quot;: [{
                  &quot;documentType&quot;: req.body.documentype,
                  &quot;birthPlace&quot;: req.body.birthplace,
                  &quot;issuanceLocation&quot;: req.body.issuancelocation,
                  &quot;issuanceDate&quot;: req.body.issuancedate,
                  &quot;number&quot;: req.body.p_number,
                  &quot;expiryDate&quot;: req.body.expirydate,
                  &quot;issuanceCountry&quot;: req.body.issuancecountry,
                  &quot;validityCountry&quot;: req.body.validitycountry,
                  &quot;nationality&quot;: req.body.nationality,
                  &quot;holder&quot;: true
                }]
              }]
          } 
        })
        );
  </code></pre>
  <p>I there a simple way to achieve that?</p>