Remove trailing comma from keymaps