Fix wrong query

* JSON is invalid
* "type" is missing
* "body" is missing