api accepts wsapi/solr json response
Merge branch 'add_support_for_json_response'