предлагаю взять https://github.com/bem/project-stub/blob/bem-core/.bem/techs/bemjson.js.js as is