add support for serialize(names...)