Could the metadata in the container be different from the metadata of the command that last modified the entry?
Anyway, I think taking the metadata from the container/context is more natural, so I vote to keep it this way.