Fixed bug for queries that return 0 results as JSON.  USed to return an empty [], now returns an empty {}.  respond function added to RESTController.  Handles checking controller output for display by Responses.  Needs work.