feat(container): enable simple registration when key and value are the same