json.extract! form, :id, :name, :description, :created_at, :updated_at, :questions, \
              :version_independent_id, :version, :all_versions, :most_recent, :parent, \
              :form_questions, :control_number, :status, :created_by_id, :published_by
json.user_id form.created_by.email if form.created_by.present?
json.url form_url(form, format: :json)

json.extract! form, :id, :name, :description, :created_at, :updated_at, \
              :version_independent_id, :version, :all_versions, :most_recent, :parent, \
              :form_questions, :control_number, :status, :created_by_id, :published_by
json.user_id form.created_by.email if form.created_by.present?
json.url form_url(form, format: :json)

json.questions form.questions do |q|
  json.extract! q, :id, :content, :created_at, :created_by_id, :updated_at, :question_type_id, :description, :status, \
                :version, :version_independent_id, \
                :other_allowed
end

Fix N+1 queries on individual form request
Fix N+1 queries on individual form request
