results from algorithm now returned from route as json