Fix for bad MIME Content-Type (per #152)

Incorporate fix from @andysc to change the Content-Type to text/json on a deploy POST

Fixes #152