Add crazy struct flattening code
Reorder stats output
Make flattening work for MemStats