Add a simple JavaScript serializer for TimedItems

Supports Animation, SeqGroup, ParGroup and KeyframeEffect.