Updating signature behavior to only include uri path.
Adding json body when payload is given.
Merge pull request #3 from ngerakines/master

Misc improvements