Make DictionarySerializer and CollectionSerializer public to allow sub-classing and custom serialization