loser to api compatible with handlebars