WEB-9328 Handlebars/Mustache plugin exception in WS 7
(cherry picked from commit 109fbf7) CR-WS-144