def filtered_args(args)
      return args if args.empty?

      json_args = Normalizer.jsonify(args)

      case unique_args_method
      when Proc
        filter_by_proc(json_args)
      when Symbol
        filter_by_symbol(json_args)
      else
        log_debug("#{__method__} arguments not filtered (using all arguments for uniqueness)")
        json_args
      end
    end
def filtered_args(args)
      return args if args.empty?

      json_args = Normalizer.jsonify(args)

      case unique_args_method
      when Proc
        filter_by_proc(json_args)
      when Symbol
        filter_by_symbol(json_args)
      else
        log_debug("#{__method__} arguments not filtered (using all arguments for uniqueness)")
        json_args
      end
    end
Filters unique arguments by proc or symbol
 @param [Array] args the arguments passed to the sidekiq worker
 @return [Array] {#filter_by_proc} when {#unique_args_method} is a Proc
 @return [Array] {#filter_by_symbol} when {#unique_args_method} is a Symbol
 @return [Array] args unfiltered when neither of the above