Merge pull request #20 from zestyping/post-json

Accept application/json requests.
Require a JSON object (not just any JSON).