default to json in routes