chaging default format to json for hosts