Get BEMJSON from json, WIP

Исходный `json`:

```json
{
    "block": "page",
    "js": "_index.js",
    "css":  "_index.css",
    "data": {
        "users": [
            "alex",
            "anatoly",
            "arcady"
        ]
    },
    "error": {

    }
}
```
Получается такой `html`:

```html
<!DOCTYPE html>
<html class="ua_js_no">
    <head>
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta charset="utf-8">
        <title></title>
        <script>
(function(e,c){e[c]=e[c].replace(/(ua_js_)no/g,"$1yes");})(document.documentElement,"className");
        </script><!--[if gt IE 9]><!-->
        <link rel="stylesheet" href="_index.css"><!--<![endif]-->
    </head>
    <body class="page">
        <div class="users">
            <div class="users__item">
                <div class="user">
                    alex
                </div>
            </div>
            <div class="users__item">
                <div class="user">
                    anatoly
                </div>
            </div>
            <div class="users__item">
                <div class="user">
                    arcady
                </div>
            </div>
        </div><script src="_index.js">
</script>
    </body>
</html>

```
можно сократить до
```js
if (err) return deferred.reject(new Error(err));
deferred.resolve(htmlFormatted);
```