Support key/value queries for stats aggregations