course routes and default to json