City of Johannesburg to head to high court to defend city manager