title: Python Lambda Function Parsing DynamoDB's JSON Format
body: <p>Python Lambda function that gets invoked for a dynamodb stream has JSON that has DynamoDB format (contains the data types in JSON).  I would like to covert DynamoDB JSON to standard JSON.  PHP and nodejs have Marshaler that can do this.  Please let me know if there are similar or other options for Python.</p>
  
  <pre><code>DynamoDB_format = `{"feas":
      {"M": {
          "fea": {
              "L": [
                  {
                      "M": {
                          "pre": {
                              "N": "1"
                          },
                          "Li": {
                              "N": "1"
                          },
                          "Fa": {
                              "N": "0"
                          },
                          "Mo": {
                              "N": "1"
                          },
                          "Ti": {
                              "S": "20160618184156529"
                          },
                          "Fr": {
                              "N": "4088682"
                          }
                      }
                  }
                  ]
              }   
          }
      }
  }`
  </code></pre>