Minor: fix name of asSet() method
Minor: refactoring
Fixed bug: OMultiValueIterator serialized to empty collection