Revert commented code involving IddObjectType::value

This code was commeneted out because only recent commits added
IddObjectType::value.  The value method has been restored and old
functionality has been brought back, and therefore fixing unit tests.