Switched data search query format

Queries now use the JSON query DSL.