Use JSON encoding on all requests.
Merge pull request #1 from averagesecurityguy/json

Use JSON encoding on all requests.