```ruby
# == Schema Information
#
# Table name: change_payloads
#
#  id           :integer          not null, primary key
#  payload      :json
#  changeset_id :integer
#  created_at   :datetime         not null
#  updated_at   :datetime         not null
#
# Indexes
#
#  index_change_payloads_on_changeset_id  (changeset_id)
#

class ChangePayloadSerializer < ApplicationSerializer
  attributes :id, :changeset_id, :payload
end
```

Send create and update date on API response.
user
```ruby
# == Schema Information
#
# Table name: change_payloads
#
#  id           :integer          not null, primary key
#  payload      :json
#  changeset_id :integer
#  created_at   :datetime         not null
#  updated_at   :datetime         not null
#
# Indexes
#
#  index_change_payloads_on_changeset_id  (changeset_id)
#

class ChangePayloadSerializer < ApplicationSerializer
  attributes :id,
             :created_at,
             :updated_at,
             :changeset_id,
             :payload
end
```
assistant