{ all => { clients => ["a", "b", "c"], total => 27 }, client => { a => { amounts => [1, 3, 2], percent => 22.2222222222222, total => 6 }, b => { amounts => [5, 7], percent => 44.4444444444444, total => 12 }, c => { amounts => [9], percent => 33.3333333333333, total => 9 }, }, }