get_layer_dict function

Dictionary of layers