Misc improvements

* Fixed a bug where query string params were being added as part of the signature.
* Added json string to request when payload given.
* Removed pipes (temporarily)
When a 204 (no content) is returned, simply return the status code and a null body. For all other cases, including errors, a json structure should be parsed.