Add configuration option for beforeRender to customize local variables before macondo intercepts a page