converted well and debris map to struct