BH wrapper for JSOT templating engine