Override respond_with globally

Hi,

does someone know if there is some way to globally override the respond_with method in rails?

Thanks,
Ermin