animation timing via JSON