Migrate to optimizer.json