Fixed json query for searching