The stream server defines an endpoint with the function views.handle_result, which is supposed to forward a query result from a producer back to the querying consumer. We need to make sure that the handle result method is robust to ill-formed query inputs.