Add per-node memory information to machine endpoint.

I'll add sys mocks and test with the next change of adding cache information.
Not: errors we usually format with %v. Here and elsewhere.