Properly adds metrics dictionary