set the Content-Type header on JSON respones

fixes https://github.com/canaryio/canaryd/issues/16