changed queurystring to JSON for paring search criteria