Make json the default format in routes