Restructure TwoDimTable to make its JSON string easier for client to consume.