public function output(\stdClass $object, ResponseInterface $response) {
        $response->setContentType('application/json');
        $response->setJsonContent($object);
        $response->send();
    }