fixing order of metric array to match http api, this would not have caused issues before the implementation of aggregation