I have an AWS API Gateway setup, served by a Python Lambda function. For successful responses the Lambda returns a response of the form:
\"200:{\\\"somekey\\\":