Building the web application!

Adds a test for malformed JSON.
Adds assertions for the Content-Type.