This will require some thinking about how to get utils.py get_layers_data to return the same structures.
utils.py
get_layers_data