public function transformRequest(Request $requestIn, Request $requestOut)
    {
        $requestOut = Request::create(
            $requestOut->getUri(),
            $requestOut->getMethod(),
            [],
            [],
            [],
            [],
            json_encode(
                $this->transformer->transform(json_decode($requestIn->getContent()), $this->mapping)
            )
        );
        return $requestOut;
    }