Set json as default format for routes