Fix Content-Type header
We're currently sending "Content-Type: text/html; charset=utf-8" which is very wrong. We should send "Content-Type: application/json" instead.
We're currently sending "Content-Type: text/html; charset=utf-8" which is very wrong. We should send "Content-Type: application/json" instead.