Rendering locals initialization refactoring: response locals will be initialized with every request in order to simplify template build