promoted serialization to the public API, it's going to be needed for maps and a more general approach to lists and sets