Add default config, better error mesages for missing policies and Handlebars json helper