enhance ejs-locals for V2