Coopr 581: Implement node hours REST API

rather than building the json here, it is better to create an object that represents the response and just pass it in to sendJson and let gson handle the serialization into json.  This will make the response reusable in unit tests and by client code.