added a JSON format option for DNS
parse responce of HTTP