send properly formatted responses with errors and handle no results