API - query results in JSON format. fixes #278
Merge QueryResultAPI with CSVQueryResultAPI
Merge pull request #279 from EverythingMe/json-results

API - query results in JSON format. fixes #278