[plugins] director: JSON API resilience improved