json.(tag,:id, :name, :description, :color)
json.issues_count tag.issues_count
json.pull_requests_count tag.pull_requests_count
json.project do 
  if tag.project.present? 
    json.partial! "api/v1/projects/simple_detail", project: tag.project
  else 
    json.nil! 
  end
end
json.user do 
  if tag.user.present?
    json.partial! "api/v1/users/simple_user", user: tag.user
  else 
    json.nil! 
  end
end
json.created_at tag.created_at.strftime("%Y-%m-%d %H:%M")
json.updated_at tag.updated_at.strftime("%Y-%m-%d %H:%M")