@Override
    @SuppressWarnings("unchecked")
    public void read(JmeImporter im) throws IOException {
        super.read(im);
        InputCapsule ic = im.getCapsule(this);
        animClipMap = (Map<String, AnimClip>) ic.readStringSavableMap("animClipMap", new HashMap<String, AnimClip>());
        globalSpeed = ic.readFloat("globalSpeed", 1f);
        layers = (Map<String, AnimLayer>) ic.readStringSavableMap("layers", new HashMap<String, AnimLayer>());
        layers.putIfAbsent(DEFAULT_LAYER, new AnimLayer(DEFAULT_LAYER, null));
    }
De-serialize this composer from the specified importer, for example when
loading from a J3O file.

@param im the importer to use (not null)
@throws IOException from the importer
jme3-core/src/main/java/com/jme3/anim/AnimComposer.java