[HttpKernel] Ensure data is array in DumpDataCollector::getDumps()