private ExecutableAnimation parseAnimationObjectHelper(String animationName, ExecutionType executionType) {
        switch(mRawAnimations.getType(animationName)) {
            case Array:
                return parseAnimationObject(mRawAnimations.getArray(animationName), executionType);
            case Map:
                return parseAnimationObject(mRawAnimations.getMap(animationName), executionType);
            case String:
                return parseAnimationObject(mRawAnimations.getString(animationName), executionType);
            default:
                ViroLog.error(TAG, "Invalid animation object received of type: ["
                        + mRawAnimations.getType(animationName) + "]");
                return null;
        }
    }
This function helps us branch between the 3 different animation object types

@param animationName - name of the animation to parse in the map of raw animations
@param executionType - execution type
@return the parsed animation object
android/viro_bridge/src/main/java/com/viromedia/bridge/module/AnimationManager.java