Implementing '/cpu.json' & '/memory.json' for charts