jsonified search endpoint