Add per-node memory information to machine endpoint.

I'll add sys mocks and test with the next change of adding cache information.