Kept the default behavior of do_query

To call do_query API without `<fmt>structured</fmt>`, pass `fmt: nil` or `fmt: ''` in options while calling do_query method.

Not passing `fmt` key or passing `:fmt => (anything)` will result in calling API with `<fmt>structured</fmt>`