Optional before_send hook to modify ajax data dynamically