collapse_metadata_maps now tested and working

Should be ok to move ahead on this now.