Stop transforming exception into JSON