Fix problem with animatable metadata categories

The metadata map object was being used incorrectly, it should now work
just fine.