Make sure Service.globals is always a dict.