public function create($content, $code = 200, $headers = [], $charset = null)
    {
        return $this->serializer->serialize(
            new Response($content, $code, $headers, $charset),
            'json'
        );
    }