Use JSON to send search requests