Emit json mimetype for JSON responses