add individual cores and memory usage to json protocol