Added JSON support for search back in.