When using from_parchmint_v1_2, the method reads the layers of the device from the "layer" part of the json file. If this section is ommited from the json file and only specifies the layers in the attributes of the components, a key error is raised because the layer that the component refers to does not exist.