Trim extra unnecessary comma from nxlog routes config.