Refactoring the ensemble, cluster, centroid, anomaly and anomaly scores REST calls