json.array!(@workflows) do |workflow|
  json.extract! workflow, :id
  json.url workflow_url(workflow, format: :json)
end

json.array!(@workflows) do |workflow|
  json.extract! workflow, :id, :title, :description
  json.url workflow_url(workflow, format: :json)
end

Update the workflows JSON output.
Update the workflows JSON output.

Now outputs title and description.
