List<ZNRecord> liveInstances = HelixProperty.convertToList(accessor.getChildValues(keyBuilder.liveInstances()));
List<ZNRecord> stateModelDefs = HelixProperty.convertToList(accessor.getChildValues(keyBuilder.stateModelDefs()));
// Idealstates are stored in a map from resource name to idealState ZNRecord
List<ZNRecord> idealStateList = HelixProperty.convertToList(accessor.getChildValues(keyBuilder.idealStates()));
Map<String, ZNRecord> idealStatesMap = new HashMap<String, ZNRecord>();
for (ZNRecord idealState : idealStateList)
{
idealStatesMap.put(idealState.getId(), idealState);