Restructured document JSON