`onSearchComplete` receives suggestions as second parameter

Added functionality and it’s specs.
In line 648 there is no need to serialise `result` as it will be
already serialised on line `511`.