json.records do
  json.array! @records do |hack_user|
    json.(hack_user, :id, :created_at, :status, :execute_time, :execute_memory)
    json.language hack_user.hack.language
  end
end

json.records_count @records_count