When executing a testvia the AWS API Gateway console, I see that the output response from the Lambda function is correctly transformed:
{ \"type\" : \"\",
Before the changes are externally visible, you need to Deploy the API !