Fix the transform to parse the message correctly