Modified to correctly pull number_of_replicas and number_of_shards from
1.0.0+ servers.