code: function prepareString(role: string): string {
    return JSON.stringify(role).replace(/"/g, "'").replace(/,/g, ', ');
  }
docs: prepare roles for code generator
  convert array to String value
  replace " by '
  @private
  @param {array} role - name of role
  @return {string} roleString - role string