modify JSON structure for HandlebarsJS