Enhancement to stats API Endpoing
Changing to empty check to allow for other empty types
Merge pull request #1086 from cklosowski/pull-req

#1026 - Enhancement to stats API response