changed results format

Previously returned an object with results property. Seemed cumbersome
so now just return the result.