(function (app) {
    'use strict';

    function read() {
        if (!app.rootWidget) {
            return null;
        }
        return app.rootWidget.read();
    }

    app.modules.serialize = { read: read };
})(window.formApp);
