protected function sendResponse($output, $status = 200, $header = array(), $json = true)
    {
        $output = date('Y.m.d H:i:s') . " - $output";
        $data = json_encode(['output' => $output]);
        return new JsonResponse($data, $status, $header, $json);
    }