added json response option if data doesnt have a response header
Merge pull request #169 from aholachek/query-mediator-json-response

added json response option if data doesnt have a response header