code: def records_identities(records)
        records = [records] unless records.respond_to?(:map)
        records.map { |record| record_identity(record) }
      end
docs: Returns array of records identities
  
   @param records [Array<ApplicationRecord>, Array[Hash]] list of stored records
   @return [Array<Hash>] array of records identities