Implemented/fixed DirectoryObject serialization;