json.tags @tech_system do |tag| json.tag_id tag.id json.tag_name tag.name end json.subjects do json.partial! 'subject', locals: {subjects: @subjects} end json.total_count @total_count