Redirect JSON and CSV endpoints too.