Fix the Content-Type header of the json_response

Seems I forgot to add the correct Content-Type header to the json_response
utility. This has now been fixed.
Fix the new_view.

So, it turns out that django forms will not acknowledge a form as valid if you
use the initial_data parameter, but luckily when you use the data parameter, it
will work fine while still just passing a dict.