BEMJSON to HTML serializer