Massively improve serialization API
Tree serialization
Wrap public/private data content into inner blocks