Refactor Sidekiq cookbook