Search works now with json