Changes DisplayObject serialization

/cc @mbebenita