I have JSON file that contains the structure of neural networks. I would like to convert the JSON file to an object, but, if possible, ignore the lists for example :