Improved response type to empty object if no results

This makes it much easier to use with promises