json.array! @questions do |question|
  score = Score.find_by(question: question, response: @user_response) 

  json.id          question.id
  json.category_id question.id
  json.score do 
    json.id    score.id
    json.value score.value
  end if score
end

json.array! @questions do |question|
  score = Score.find_by(question: question, response: @user_response) 

  json.id          question.id
  json.category_id question.id
  json.score do 
    json.id    score.id
    json.value score.value
    json.evidence score.evidence
  end if score
end

Return scores as well as evidence
Return scores as well as evidence
