JSON - added serialization of action script objects (properties and fields) to json objects