added json searh endpoint