add the keycode support and use json data