make the default content type configurable

Our application is sending data to the Express app as form-encoded data (application/x-www-form-encoded) rather than JSON. It makes sense for the default to be JSON, but I added an override that let's us switch it to form-encoded where necessary.