COOPR-581: Implement node hours REST API

instead of returning a list, you can directly return the MetricResponse object