I am trying to map a JSON having children nodes into a certain map for mat so that I can implement angular material tree to it. Here are the JSON and respective map format n