Tiny method to alter $.ajax to send JSON.stringified body for POST and PUT requests.