Constructs Query From JSON

Reads JSON file and constructs the search parameters from there.