code: function (entityV1, listen, key) {
          return {
              listen: listen,
              script: {
                  type: 'text/javascript',
                  exec: _.isString(entityV1[key]) ? entityV1[key].split('\n') : entityV1[key]
              }
          };
      }
docs: /* eslint-disable object-shorthand