add JresSearch constructor that takes an arbitrary search body object (probably a string, but could be whatever custom object too).