Convert task semantics to celery 3+