Fix delete by query

Ref karmi/retire#309

* Fix curl logging
* Fix query json on `source` param