AWS lambda api gateway error "Malformed Lambda proxy response" : <p>I am trying to set up a hello world example with AWS lambda and serving it through api gateway. I clicked the "Create a Lambda Function", which set up the api gatway and selected the Blank Function option. I added the lambda function found on <a href="http://docs.aws.amazon.com/apigateway/latest/developerguide/getting-started.html#getting-started-new-lambda" rel="noreferrer">AWS gateway getting started guide</a>:  </p>

<pre><code>exports.handler = function(event, context, callback) {
  callback(null, {"Hello":"World"});  // SUCCESS with message
};
</code></pre>

<p>The issue is that when I make a GET request to it, it's returning back a 502 response <code>{ "message": "Internal server error" }</code>. And the logs say "Execution failed due to configuration error: Malformed Lambda proxy response".</p>
