 {
 
 import flash.utils.ByteArray;
+import flash.utils.Dictionary;
+import flash.utils.IExternalizable;
 import flash.utils.describeType;
-import flash.utils.IExternalizable;
 import flash.xml.XMLDocument;
 
 import mx.logging.Log;

    private static function encodeBoolean(xml:XML, bool:Boolean):void
    {
        if (bool)
        {
            xml.appendChild(X_TRUE.copy());
        }
        else
        {
            xml.appendChild(X_FALSE.copy());
        }
    }



        }
        else
        {
            rememberObject(context, array);

            element = <array />;

