title: Formatting DynamoDB data to normal JSON in AWS Lambda
body: <p>I'm using <strong>AWS Lambda</strong> to scan data from a <strong>DynamoDB</strong> table. This is what I get in return:</p>
  
  <pre><code>{
    "videos": [
      {
        "file": {
          "S": "file1.mp4"
        },
        "id": {
          "S": "1"
        },
        "canvas": {
          "S": "This is Canvas1"
        }
      },
      {
        "file": {
          "S": "main.mp4"
        },
        "id": {
          "S": "0"
        },
        "canvas": {
          "S": "this is a canvas"
        }
      }
    ]
  }
  </code></pre>
  
  <p>My front-end application is using <strong>Ember Data Rest Adapter</strong> which does not accepts such response. Is there any way I can get normal JSON format? There is this NPM module called <code>dynamodb-marshaler</code> to convert DynamoDB data to normal JSON. I'm looking for a <strong>native solution</strong> if possible. </p>