Set proper MIME type for JSON.