Fix to the appropiate json mime type in the http headers.