puppetlabs/puppetdb — pull request #644 by cprice404 (2013-09-12 18:56:52+00:00)
Title: Change response format for subject of event-counts endpoint results

In an attempt to make the data structure of the response format
for the event-counts endpoint a bit more consistent, we've
decided to introduce the keys `subject` and `subject-type` at
the top level of each result map, rather than the variable
list of keys such as `resource-title`, `resource-type`, `node`,
etc.