Make API return JSON by default