I (maybe falsely) assumed lambda@edge can modify origin.responce content, so wrote a lambda function like this:
/* this