json.extract! setup, :id, :name, :created_at, :updated_at json.url setup_url(setup, format: :json)