 		
 		public function serializeData():* 
 		{
-			var yamlData:String = YAML.encode(_data);
+			var yamlData:String = YAML.encode(stackTop());
 			return yamlData;
 		}
 		

		private const SERIALIZATOR_STATE_MAP:String = "SERIALIZATOR_STATE_MAP";
		
		private var _stack:Array;
		private var _data:Object;
		
		public function YAMLSerializator() 
		{
			_stack = new Array();
			_data = {};
			_stack.push({data: _data, context: SERIALIZATOR_STATE_OBJECT});
		}
		
		private function stackTop():* 

{
	import flash.geom.Rectangle;
	import flash.geom.Point;
	import flash.utils.Dictionary;
	import org.as3yaml.YAML;
	
	public class YAMLSerializator implements ISerializator
