Why do you want to do that? You can always override out of box webscripts and can change whatever you want to do. As a part of best practice create a replica of webscript and then modify that to keep core intact.
Thanks for responding.. I am using a HTML form with action pointing to this rest endpoont .. I use an iframe to capture the target's response.. It works fine for chrome n Firefox as they even render the application/json response HTML format.. But IE does not behave similarly..it downloads the non HTML/plain text responses..