refactored animation curve output
fixed keyframe output
refactored animation output (still broken), fixed polygon holes, fixed bounding boxes