removed shard state from configuration, added an json api to expose it