Adding support for serializing IEdmObject instances.
Adding support for deserialization of IEdmObject.