Retrieve value & key from json to build data table kibana

hey, i'm extracting data from Json file and displaying it in Kibana. i want to create a data table displaying the details for each id and for each category. How can i extract properly the key and the value from the message? Thank you :smiling_face_with_three_hearts:

Here's an example of my data :

{
"Course":
[
{"id": 110,
"language": "Python",
"price": 1932
},

   {"id": 111, 
     "language": "java",
     "price": 1650
   }
   ],

"teacher":
[
{"id": 1,
"address": "xxxxx",
"phoneNumber": 5687954123
}]
}