new serializer dsl that uses the tree-structures
Implement commands as extension rather than built-in