json.extract! @ticket, :id, :title, :description, :state, :created_at, :updated_at