Force JSON format in ajax requests