Categories and Towns Controllers return type changed to JSON

Categories Controller and Towns Controller returns XML. I fixed it to return JSON.