json.array!(@doctrines) do |doctrine| json.extract! doctrine, *%i[id subject_ids headnote content plain_content created_at updated_at] end