code: function widgetsForPage( page ) {
           return Object.keys( page.areas ).reduce( ( widgets, areaName ) => {
              const areaWidgets = page.areas[ areaName ];
              return areaWidgets.reduce( ( widgets, widget ) => {
                 widget.area = areaName;
                 return [ ...widgets, widget ];
              }, widgets );
           }, [] );
        }
docs: //////////////////////////////////////////////////////////////////////////////////////////////////////