For anymone facing this issue or similar. The following config.json content is for having space as the switch to first person mode and # for turning of the headlight mode:
{"announce_connection":true,"auto_close":true,"auto_minimize":true,"auto_start":true,"avatar_camera_intensity":35,"avatar_gain":50,"avatar_id":"Male Casual","avatar_last_walking_speed":100.5,"avatar_mouse_sensitivity":18,"background_mute":true,"camera_default_height":50,"camera_default_zoom":50,"debug_mode":true,"disabled_effects":["breathing","cabin_ambiance","clear_prop","scary_ride","sneezing"],"first_person_button_id":"32","flash_light_button_id":"92","freeze_mode":false,"master_gain":0.75,"reset_camera_button_id":"","should_show_avatar":false,"welcome":true,"xml_exe_path":"","zoom_in_button_id":"","zoom_out_button_id":""}