Set JSON as default format for API requests