module ActiveModel::Serializer::Attributes::ClassMethods

def _attributes_keys

Other tags:
    See: FragmentCache#fragment_serializer -
    See: Serializer::attribute -

Other tags:
    Api: - private
def _attributes_keys
  _attributes_data
    .each_with_object({}) do |(key, attr), hash|
      next if key == attr.name
      hash[attr.name] = { key: key }
    end
end