If an HashMap do not have metadata but has a container, we retrieve its metadata.