title: Return python string as the body of HTTP response
body: <p>I am using <code>AWS Lambda</code> with <code>python-2.7</code> replying back to <code>AWS Api Gateway</code>. My lambda function should return a response looking like following, but I am strugling with putting the proper form of body in the JSON response:</p>
  
  <pre><code>    return_value = {
          "statusCode": 200,
          "isBase64Encoded": 'false',
          "headers": {"Content-Type": "application/json"},
          "body": {payload['note']}
      }
  </code></pre>
  
  <p>the type of <code>payload['note']</code> is <code>unicode</code>, so I don't know what exactly to put in the brackets opposite to <code>body</code>, as I am new to python and tried a lot without being able to figure it out. I tried to convert it to string using:</p>
  
  <p><code>unicodedata.normalize('NFKD', payload['note']).encode('ascii', 'ignore')</code></p>
  
  <p>But it didn't work either.</p>