/**
  * Display the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function show($id)
 {
     $questionnaire = Questionnaire::with('questions')->find($id);
     if (is_null($questionnaire)) {
         return Response::json(['error' => 'no such questionnaire found'], 404);
     }
     return Response::json($this->reformatTagsAndQuestions($questionnaire), 200);
 }