DSL for writing object trees serializes.