class SidekiqScheduler::Manager

def to_hash

unless it responds to `to_hash`.
Because ActiveSupport's `as_json` traverses instance values to convert the object to a hash
This method is needed to avoid exposing unnecessary information.
def to_hash
  {
    scheduler: @scheduler_instance.to_hash
  }
end